//
//  SoundTools.swift
//  手写单例
//
//  Created by co on 16/3/13.
//  Copyright © 2016年 王南侠. All rights reserved.
//

import UIKit

class SoundTools: NSObject {
    
    static let shareManager = SoundTools()
    
    static var instance:SoundTools?
    static var onceToken: dispatch_once_t = 0
    
    class func shareTools() -> SoundTools {
        
        dispatch_once(&onceToken) { () -> Void in
            instance = SoundTools()
            
        }
        return instance!
    }
}
